<template>
	<view>
		<div class='shipin'>视频讲解</div>
		<video id="myVideo" src="https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/%E7%AC%AC1%E8%AE%B2%EF%BC%88uni-app%E4%BA%A7%E5%93%81%E4%BB%8B%E7%BB%8D%EF%BC%89-%20DCloud%E5%AE%98%E6%96%B9%E8%A7%86%E9%A2%91%E6%95%99%E7%A8%8B@20200317.mp4"
		@error="videoErrorCallback" :danmu-list="danmuList"  controls>
		</video>
		<div id='doctor'>医生推荐</div>
		<div>------</div>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onReady: function(res) {
		        // #ifndef MP-ALIPAY
		        this.videoContext = uni.createVideoContext('myVideo')
		        // #endif
		    },
		methods: {
			
		}
	}
</script>

<style>
	.shipin{
		margin-top: 20px;
		margin-left: 125px;
		font-size: 20px;
	}
	
	#myVideo{
		width: 250px;
		height: 200px;
		margin-top: 20px;
		margin-left: 35px;
	}
	
	#doctor{
		margin-top: 30px;
		margin-left: 125px;
		font-size: 20px;
	}
</style>
